<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: contrib/sIPOPT/src/SensMeasurement.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.12</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('SensMeasurement_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">SensMeasurement.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="SensMeasurement_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Copyright 2009, 2011 Hans Pirnay</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// All Rights Reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// This code is published under the Eclipse Public License.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// Date   : 2009-05-16</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef __AS_MEASUREMENT_HPP__</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define __AS_MEASUREMENT_HPP__</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpReferenced_8hpp.html">IpReferenced.hpp</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpDenseVector_8hpp.html">IpDenseVector.hpp</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpIteratesVector_8hpp.html">IpIteratesVector.hpp</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceIpopt.html">Ipopt</a></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;{</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classIpopt_1_1Measurement.html">   17</a></span>&#160;<span class="keyword">class </span>SIPOPTLIB_EXPORT <a class="code" href="classIpopt_1_1Measurement.html">Measurement</a>: <span class="keyword">public</span> <a class="code" href="classIpopt_1_1ReferencedObject.html">ReferencedObject</a></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classIpopt_1_1Measurement.html#a5dc3d2831da73034aed6fb1d89d86c3e">   26</a></span>&#160;   <a class="code" href="classIpopt_1_1Measurement.html#a5dc3d2831da73034aed6fb1d89d86c3e">Measurement</a>()</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;   { }</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classIpopt_1_1Measurement.html#a4cb0f98dc02647c2b16bf73e5bb166bb">   29</a></span>&#160;   <span class="keyword">virtual</span> <a class="code" href="classIpopt_1_1Measurement.html#a4cb0f98dc02647c2b16bf73e5bb166bb">~Measurement</a>()</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;   { }</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classIpopt_1_1Measurement.html#a703cf5c06d6b97a075cb810782d10fb6">   37</a></span>&#160;   <span class="keyword">virtual</span> std::vector&lt;Index&gt; <a class="code" href="classIpopt_1_1Measurement.html#a703cf5c06d6b97a075cb810782d10fb6">GetInitialEqConstraints</a>() = 0;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classIpopt_1_1Measurement.html#a7a41f780d9543ae951186222ef060379">   43</a></span>&#160;   <span class="keyword">virtual</span> <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;DenseVector&gt;</a> <a class="code" href="classIpopt_1_1Measurement.html#a7a41f780d9543ae951186222ef060379">GetMeasurement</a>(</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;      <a class="code" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a> measurement_number</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;   ) = 0;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classIpopt_1_1Measurement.html#a738d5f75880c737fcf371bd354cb2196">   48</a></span>&#160;   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classIpopt_1_1Measurement.html#a738d5f75880c737fcf371bd354cb2196">SetSolution</a>(</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;      <a class="code" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>                    measurement_number,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;      <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;IteratesVector&gt;</a> sol</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;   ) = 0;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;};</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;}</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassIpopt_1_1Measurement_html"><div class="ttname"><a href="classIpopt_1_1Measurement.html">Ipopt::Measurement</a></div><div class="ttdef"><b>Definition:</b> <a href="SensMeasurement_8hpp_source.html#l00017">SensMeasurement.hpp:18</a></div></div>
<div class="ttc" id="anamespaceIpopt_html"><div class="ttname"><a href="namespaceIpopt.html">Ipopt</a></div><div class="ttdoc">This file contains a base class for all exceptions and a set of macros to help with exceptions.</div><div class="ttdef"><b>Definition:</b> <a href="IpInexactAlgBuilder_8hpp_source.html#l00013">IpInexactAlgBuilder.hpp:14</a></div></div>
<div class="ttc" id="aIpIteratesVector_8hpp_html"><div class="ttname"><a href="IpIteratesVector_8hpp.html">IpIteratesVector.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Measurement_html_a5dc3d2831da73034aed6fb1d89d86c3e"><div class="ttname"><a href="classIpopt_1_1Measurement.html#a5dc3d2831da73034aed6fb1d89d86c3e">Ipopt::Measurement::Measurement</a></div><div class="ttdeci">Measurement()</div><div class="ttdoc">This class provides an abstraction for the measurements of the states coming in and the solutions of ...</div><div class="ttdef"><b>Definition:</b> <a href="SensMeasurement_8hpp_source.html#l00026">SensMeasurement.hpp:26</a></div></div>
<div class="ttc" id="aclassIpopt_1_1SmartPtr_html"><div class="ttname"><a href="classIpopt_1_1SmartPtr.html">Ipopt::SmartPtr</a></div><div class="ttdoc">Template class for Smart Pointers.</div><div class="ttdef"><b>Definition:</b> <a href="IpSmartPtr_8hpp_source.html#l00164">IpSmartPtr.hpp:165</a></div></div>
<div class="ttc" id="aIpReferenced_8hpp_html"><div class="ttname"><a href="IpReferenced_8hpp.html">IpReferenced.hpp</a></div></div>
<div class="ttc" id="aIpDenseVector_8hpp_html"><div class="ttname"><a href="IpDenseVector_8hpp.html">IpDenseVector.hpp</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a5a4a27f325033a0e5d85a4ebc4038b57"><div class="ttname"><a href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Ipopt::Index</a></div><div class="ttdeci">ipindex Index</div><div class="ttdoc">Type of all indices of vectors, matrices etc.</div><div class="ttdef"><b>Definition:</b> <a href="IpTypes_8hpp_source.html#l00020">IpTypes.hpp:20</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Measurement_html_a703cf5c06d6b97a075cb810782d10fb6"><div class="ttname"><a href="classIpopt_1_1Measurement.html#a703cf5c06d6b97a075cb810782d10fb6">Ipopt::Measurement::GetInitialEqConstraints</a></div><div class="ttdeci">virtual std::vector&lt; Index &gt; GetInitialEqConstraints()=0</div><div class="ttdoc">This function returns a std::vector holding the indices in IteratesVector of the equations that are t...</div></div>
<div class="ttc" id="aclassIpopt_1_1Measurement_html_a4cb0f98dc02647c2b16bf73e5bb166bb"><div class="ttname"><a href="classIpopt_1_1Measurement.html#a4cb0f98dc02647c2b16bf73e5bb166bb">Ipopt::Measurement::~Measurement</a></div><div class="ttdeci">virtual ~Measurement()</div><div class="ttdef"><b>Definition:</b> <a href="SensMeasurement_8hpp_source.html#l00029">SensMeasurement.hpp:29</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Measurement_html_a7a41f780d9543ae951186222ef060379"><div class="ttname"><a href="classIpopt_1_1Measurement.html#a7a41f780d9543ae951186222ef060379">Ipopt::Measurement::GetMeasurement</a></div><div class="ttdeci">virtual SmartPtr&lt; DenseVector &gt; GetMeasurement(Index measurement_number)=0</div><div class="ttdoc">This function returns delta_u.</div></div>
<div class="ttc" id="aclassIpopt_1_1Measurement_html_a738d5f75880c737fcf371bd354cb2196"><div class="ttname"><a href="classIpopt_1_1Measurement.html#a738d5f75880c737fcf371bd354cb2196">Ipopt::Measurement::SetSolution</a></div><div class="ttdeci">virtual void SetSolution(Index measurement_number, SmartPtr&lt; IteratesVector &gt; sol)=0</div><div class="ttdoc">This function does whatever the measurement machine does with the solution of the SensAlgorithm.</div></div>
<div class="ttc" id="aclassIpopt_1_1ReferencedObject_html"><div class="ttname"><a href="classIpopt_1_1ReferencedObject.html">Ipopt::ReferencedObject</a></div><div class="ttdoc">Storing the reference count of all the smart pointers that currently reference it.</div><div class="ttdef"><b>Definition:</b> <a href="IpReferenced_8hpp_source.html#l00169">IpReferenced.hpp:170</a></div></div>
</body>
</html>
